﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cspl.Project.Console;
using Cspl.Project.Interface;
using System.Collections;
using Cspl.Project.Console.DefaultNamespace;

namespace Cspl.Project.Namespace
{
    public delegate int Plus1Delegate(int param);

    class Program
    {
        static void Main(string[] args)
        {
            IList<Student> students = new List<Student>();
            students.Add(new Student
                {
                    Id = "12345",
                    Name = "SiX",
                    Faculty = "Electrical Engineering",
                    Major = "Electro"
                });
            students.Add(new Student
                {
                    Id = "12346",
                    Name = "SiY",
                    Faculty = "Electrical Engineering",
                    Major = "Power"
                });
            students.Add(new Student
                {
                    Id = "12347",
                    Name = "SiA",
                    Faculty = "Informatics Engineering",
                    Major = "Information System"
                });

            int numbers = students.Count(s => s.Faculty == "Electrical Engineering");
        }
        
        static bool EventNumberCheck(int num)
        {
            return num % 2 == 0;
        }
    }


    enum Days { Sunday = 1, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday }
}
